package com.crayfish.quduo.model;

import org.greenrobot.greendao.annotation.Entity;

import java.io.Serializable;
import java.util.List;

import cn.bmob.v3.BmobObject;

/**
 * Created by crayfish on 2017/1/9.
 */
public class JokeItemBean implements Serializable{

    public String allNum;
    public String allPages;
    public List<Item> contentlist;
    public String currentPage;
    public String maxResult;

    public String getAllNum() {
        return allNum;
    }

    public void setAllNum(String allNum) {
        this.allNum = allNum;
    }

    public String getAllPages() {
        return allPages;
    }

    public void setAllPages(String allPages) {
        this.allPages = allPages;
    }

    public List<Item> getContentlist() {
        return contentlist;
    }

    public void setContentlist(List<Item> contentlist) {
        this.contentlist = contentlist;
    }

    public String getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(String currentPage) {
        this.currentPage = currentPage;
    }

    public String getMaxResult() {
        return maxResult;
    }

    public void setMaxResult(String maxResult) {
        this.maxResult = maxResult;
    }

    @Entity
    public static class Item extends BmobObject{
        public String ct;
        public String img;
        public String title;
        public String type;
        public int laud;
        public int comment;

        public String getCt() {
            return ct;
        }

        public void setCt(String ct) {
            this.ct = ct;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getLaud() {
            return laud;
        }

        public void setLaud(int laud) {
            this.laud = laud;
        }

        public int getComment() {
            return comment;
        }

        public void setComment(int comment) {
            this.comment = comment;
        }
    }
}
